package com.travel.anu.service.impl;

import com.travel.anu.mapper.UserMapper;
import com.travel.anu.model.User;
import com.travel.anu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yinyin
 * @create 2021/08/14 下午 4:53
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
